import { defineConfig } from "vite";
import uni from "@dcloudio/vite-plugin-uni";

// https://vitejs.dev/config/
export default defineConfig({
	server: {
		proxy: {
			'/notebook': {
				target: 'http://localhost:10010',
				changeOrigin: true,
				// rewrite: (path) => path.replace(/^\/api/, '/api')
			}
		}
	},
	plugins: [uni()],
});